import Mock from "mockjs";

// 生成数据
let { sourceList } = Mock.mock({
    'sourceList|20': [
        {
            'id|100000-999999':100000,
            'from|1': ["北京","上海","广州","深圳","杭州","成都","武汉","南京","重庆","天津","苏州","西安","长沙","青岛","郑州","合肥"],
            'to|1': ["北京","上海","广州","深圳","杭州","成都","武汉","南京","重庆","天津","苏州","西安","长沙","青岛","郑州","合肥"],
            'vehicle|1':[{key:'普通厢车',value:'4.2米'},{key:'平板挂车',value:'5.4米'},{key:'平板货车',value:'6.8米'}],
            'transportation|1' :['整车','零担'],
            time:'@date("yyyy.MM.dd")',
            'price|500-5000': 500,
            'goodstype|1':['蔬菜','生鲜','钢材','家具','垃圾'],
            'weight|1-20': 0.1,
            'volume|1-100':0.5,
            'other|1':['发票','无'],
            remark:'@csentence(5, 10)',
        }
    ]
})

export {
    sourceList
}
